package model

import "time"

type User struct {
	ID        int64
	Nick      string
	Enabled   int8
	Balance   float32
	Total     float32
	Num       int
	private   string
	UpdatedAt time.Time
	CreatedAt time.Time
	Sub       []*User
	User      *User
}

func (p *User) GetPrivate() string {
	return p.private
}

func (p *User) SetPrivate(priv string) {
	p.private = priv
}
